﻿{% load tags %}
{% block content %}
<table class="sortable innerTable">
  <thead>
    <tr>
      <th style="width:20%" sort_index="0">Data</th>
      <th style="width:60%" sort_index="1">Užduotys</th>
      <th style="width:20%" sort_index="2">Išdirbtos valandos</th>
    </tr>
  </thead>
  <tbody>
    {% for p in project %}
    <tr>
      <td>{{ p.date|date:"Y-m" }}</td>
      <td class="left">{{ p.name }}</td>
      <td>{{ p.workhours }}</td>
    </tr>
    {% endfor%}
  </tbody>
</table>
{% endblock %}
